package com.xnew.entity.memberArchives;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
* @Author: Zhozh
* @Description: 资格信息子记录表
* @DateTime: 2022/4/29
* @Params:
* @Return
*/

@TableName("t10_sltd_bqsi_subrecd")
public class SltdBqsiSubrecd implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 信息子记录编号
     */
    @TableId("info_sub_record_no")
    private String infoSubRecordNo;

    /**
    * 二级业务资格类型名称
    */
    private String scdBusiQlfyTypeName;

    /**
    * 信息主记录编号
    */
    private String infoMainRecordNo;

    /**
    * 二级业务资格类型编码
    */
    private String scdBusiQlfyTypeCode;

    /**
     * 一级业务资格类型编码
     */
    private String sltdBusiQlfyType;


    public SltdBqsiSubrecd() {
    }

    public String getScdBusiQlfyTypeName() {
        return scdBusiQlfyTypeName;
    }

    public void setScdBusiQlfyTypeName(String scdBusiQlfyTypeName) {
        this.scdBusiQlfyTypeName = scdBusiQlfyTypeName;
    }

    public String getInfoSubRecordNo() {
        return infoSubRecordNo;
    }

    public void setInfoSubRecordNo(String infoSubRecordNo) {
        this.infoSubRecordNo = infoSubRecordNo;
    }

    public String getInfoMainRecordNo() {
        return infoMainRecordNo;
    }

    public void setInfoMainRecordNo(String infoMainRecordNo) {
        this.infoMainRecordNo = infoMainRecordNo;
    }

    public String getScdBusiQlfyTypeCode() {
        return scdBusiQlfyTypeCode;
    }

    public void setScdBusiQlfyTypeCode(String scdBusiQlfyTypeCode) {
        this.scdBusiQlfyTypeCode = scdBusiQlfyTypeCode;
    }

    public String getSltdBusiQlfyType() {
        return sltdBusiQlfyType;
    }

    public void setSltdBusiQlfyType(String sltdBusiQlfyType) {
        this.sltdBusiQlfyType = sltdBusiQlfyType;
    }

    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    //数据字典
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeField(){
        return new String[]{"scdBusiQlfyTypeCode"};
    }

    /*数据字典*/
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeType(){
        return new String[]{"DG0111"};
    }

}